package lession;

import java.util.Scanner;

public class Demo02 {


	public static void main(String[] args) {
		Scanner scan =new Scanner(System.in);
		System.out.println("ֵ");
		int a =(int) scan.nextDouble();
		System.out.println("ֵ");
		int b=scan.nextInt();
		int c = 1;
		for (int i = 1; i <= b; i++) {
			c=a*c;
			}
		System.out.println(c);
				}
		
	}